package com.dfrz.stockMarket.model;

import java.util.Date;

public class StockLogModel {
	private int stockLogID;
	private int OrderID;
	private int stockCode;
	private int type;
	private int stockQuantity;
	private double stockPrice;
	private Date createDate;
	public int getStockLogID() {
		return stockLogID;
	}
	public void setStockLogID(int stockLogID) {
		this.stockLogID = stockLogID;
	}
	public int getOrderID() {
		return OrderID;
	}
	public void setOrderID(int orderID) {
		OrderID = orderID;
	}
	public int getStockCode() {
		return stockCode;
	}
	public void setStockCode(int stockCode) {
		this.stockCode = stockCode;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getStockQuantity() {
		return stockQuantity;
	}
	public void setStockQuantity(int stockQuantity) {
		this.stockQuantity = stockQuantity;
	}
	public double getStockPrice() {
		return stockPrice;
	}
	public void setStockPrice(double stockPrice) {
		this.stockPrice = stockPrice;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	@Override
	public String toString() {
		return "StockLog [stockLogID=" + stockLogID + ", OrderID=" + OrderID
				+ ", stockCode=" + stockCode + ", type=" + type
				+ ", stockQuantity=" + stockQuantity + ", stockPrice="
				+ stockPrice + ", createDate=" + createDate.getTime() + "]";
	}
	public StockLogModel(int stockLogID, int orderID, int stockCode, int type,
			int stockQuantity, int stockPrice, Date createDate) {
		super();
		this.stockLogID = stockLogID;
		OrderID = orderID;
		this.stockCode = stockCode;
		this.type = type;
		this.stockQuantity = stockQuantity;
		this.stockPrice = stockPrice;
		this.createDate = createDate;
	}
	public StockLogModel() {
		
	}
	
}
